<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>委托管理</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="../../common/miniuiInit.js"></script>
    <script type="text/javascript" src="../../common/common.js"></script>
    <script type="text/javascript" src="sysEntrustList.js"></script>
    <style>
        body {
            margin: 0;
            padding: 0;
            border: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
    </style>
</head>
<body>
<div class="mini-toolbar" style="border-bottom:0;padding:0px;">
    <table style="width:100%;table-layout:fixed;">
        <tr>
            <td style='width:80px'>
                <a id="addBtn" class="mini-button" iconCls="icon-add" plain="true" onclick="addData">增加</a>
            </td>
            <td style='width:80px'>
                <a id="reloadBtn" class="mini-button" iconCls="icon-reload" plain="true" onclick="init_Data">刷新</a>
            </td>
            <td></td>
            <!---请手动修改各个查询列宽度，建议都设数字；---->

            <td style="white-space:nowrap;text-align:right;width:220px;">
                <input id="key" class="mini-textbox" emptyText="请输入名称" style="width:150px;" onenter="onKeyEnter"/>
                <a class="mini-button" iconCls="icon-search" plain="true" onclick="search()">查询</a>
            </td>
        </tr>
    </table>
</div>
<div class="mini-fit">
    <div id="gridList" title="委托管理" showHeader="true" class="mini-datagrid" style="width:100%;height:100%;" url="sysEntrust!pageList.do" idField="entrustId" allowResize="true"
         sizeList="[10,20,50,100]" pageSize="10" multiSelect="true" pageIndexField="page" pageSizeField="rows" dataField="rows">
        <div property="columns">
            <div type="indexcolumn" width="40" headerAlign="center">No.</div>
            <!---请手动修改各个列宽度，建议都设数字；让一个或两个设定按照百分比设置，百分比之和等于100%；操作列如果只有修改和删除时一般不用修改---->
            <div field='entrustAgent' width='20%' headerAlign='center' allowSort='true'>代理人</div>
            <div field='entrustState' width='20%' headerAlign='center' allowSort='true'>状态</div>
            <div field='entrustRemark' width='20%' headerAlign='center' allowSort='true'>说明</div>
            <div field='startTmie' width='20%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd">开始时间</div>
            <div field='endTime' width='20%' headerAlign='center' allowSort='true' dateFormat="yyyy-MM-dd">终止时间</div>
            <div field="entrustId" width="180" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper">操作</div>
        </div>
    </div>
</div>
</body>
</html>
